﻿﻿using System;
using System.Collections.Generic;
using System.Text;
namespace WebApplication1.DDD.Models.Entity.ConnectionString_SQLSERVER
{
    public class Sys_Log:NFinal.Struct
    {
		public System.Int64? ID {get;set;}
		public System.String LogInfo {get;set;}
		public System.String Units {get;set;}
		public System.DateTime? AddTime {get;set;}
		public System.Int64? DoUserId {get;set;}
		public System.String DoUserName {get;set;}
		public System.String DoType {get;set;}
		#region 写Json字符串
		public override void WriteJson(System.IO.TextWriter tw)
		{
			tw.Write("{");
					tw.Write("\"ID\":");
					tw.Write(ID==null?"null" : ID.ToString());
					tw.Write(",");
					tw.Write("\"LogInfo\":");
					tw.Write("\"");
					tw.Write(LogInfo==null?"null":LogInfo);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"Units\":");
					tw.Write("\"");
					tw.Write(Units==null?"null":Units);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"AddTime\":");
					tw.Write("\"");
					tw.Write(AddTime==null?"null":AddTime.ToString());
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"DoUserId\":");
					tw.Write(DoUserId==null?"null" : DoUserId.ToString());
					tw.Write(",");
					tw.Write("\"DoUserName\":");
					tw.Write("\"");
					tw.Write(DoUserName==null?"null":DoUserName);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"DoType\":");
					tw.Write("\"");
					tw.Write(DoType==null?"null":DoType);
					tw.Write("\"");
			tw.Write("}");
		}
		#endregion
    }
}
